/**
 * 
 */
package com.vision.sales.cm.serv.rpc;

import java.util.List;
import java.util.Set;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.vision.core.cm.serv.rpc.AbstractServiceAsync;
import com.vision.sales.cm.db.data.Salesman;
import com.vision.sales.cm.db.data.SalesmanProduct;

/**
 * @author Mark
 *
 */
public interface SalesmanServiceAsync extends AbstractServiceAsync<Salesman> {
	
	void getSalesmanProducts(long salesmanId, AsyncCallback<Set<SalesmanProduct>> callback);
	
	void saveCommissionRates(List<SalesmanProduct> salesmanProducts, AsyncCallback<Void> callback);

	void getSalesmenNameAndIdOnly(AsyncCallback<List<Salesman>> callback);
	
}
